package com.jordge.maintain;

import java.util.ArrayList;


/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2007-4-14
 * Time: 11:42:50
 */
public class ClassSession {
    private ArrayList<Student> registeredStudent;
    private String className;
    private int classId;

    public ClassSession(String className, int classId) {
        this.className = className;
        this.classId = classId;
    }

    public void enroll(Student student) {
        registeredStudent.add(student);
    }

    public Student get(int index) {
        return registeredStudent.get(index);
    }
}
